package com.icookie.shuatim.api.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.shuatim.model.wechat.User;
import org.apache.ibatis.annotations.Param;


/**
 * @author cookie
 * @date 2018年10月1日09:35:06
 */
public interface UserMapper extends BaseMapper<User> {

    boolean isNicknameOccupied(@Param("userId") Long userId, @Param("nickname") String nickname);
}
